<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://beta.mamsy.ru/" />
<title>call_проклик</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">call_проклик</td></tr>
</thead><tbody>
<tr>
	<td>setSpeed</td>
	<td>500</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/call</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@onclick=&quot;window.location='/call'&quot;]</td>
	<td></td>
</tr>
<!--Установить значения по умолчанию-->
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='content']/div[3]/a/strong</td>
	<td></td>
</tr>
<!--Заказы за определенную дату/акцию-->
<tr>
	<td>click</td>
	<td>css=#filters-containers &gt; div.filter-container &gt; a &gt; strong</td>
	<td></td>
</tr>
<!--За все время -->
<tr>
	<td>clickAndWait</td>
	<td>id=date-all-link</td>
	<td></td>
</tr>
<!--Заказы пользователя-->
<tr>
	<td>click</td>
	<td>//div[@id='filters-containers']/div[2]/a/strong</td>
	<td></td>
</tr>
<!--Посетитель - Ждем отправки-->
<tr>
	<td>select</td>
	<td>id=filter-customer-status</td>
	<td>label=Посетитель</td>
</tr>
<tr>
	<td>select</td>
	<td>name=customer_filter[order_status]</td>
	<td>label=Ожидает проверки</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=#filter-customers &gt; button.kd-button.kd-button-submit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='content']/div[3]/a/strong</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='filters-containers']/div[2]/a/strong</td>
	<td></td>
</tr>
<!--Посетитель - Выполняется-->
<tr>
	<td>select</td>
	<td>id=filter-customer-status</td>
	<td>label=Посетитель</td>
</tr>
<tr>
	<td>select</td>
	<td>name=customer_filter[order_status]</td>
	<td>label=Ожидает проверки</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=#filter-customers &gt; button.kd-button.kd-button-submit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='content']/div[3]/a/strong</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='filters-containers']/div[2]/a/strong</td>
	<td></td>
</tr>
<!--Посетитель - Выполняется-->
<tr>
	<td>select</td>
	<td>id=filter-customer-status</td>
	<td>label=Посетитель</td>
</tr>
<tr>
	<td>select</td>
	<td>name=customer_filter[order_status]</td>
	<td>label=Выполняется</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=#filter-customers &gt; button.kd-button.kd-button-submit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='content']/div[3]/a/strong</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='filters-containers']/div[2]/a/strong</td>
	<td></td>
</tr>
<!--Покупатель - Выполняется-->
<tr>
	<td>select</td>
	<td>id=filter-customer-status</td>
	<td>label=Покупатель</td>
</tr>
<tr>
	<td>select</td>
	<td>name=customer_filter[order_status]</td>
	<td>label=Выполняется</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=#filter-customers &gt; button.kd-button.kd-button-submit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='content']/div[3]/a/strong</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='filters-containers']/div[2]/a/strong</td>
	<td></td>
</tr>
<!--Посетитель-->
<tr>
	<td>select</td>
	<td>id=filter-customer-status</td>
	<td>label=Посетитель</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=#filter-customers &gt; button.kd-button.kd-button-submit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='content']/div[3]/a/strong</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='filters-containers']/div[2]/a/strong</td>
	<td></td>
</tr>
<!--Покупатель-->
<tr>
	<td>select</td>
	<td>id=filter-customer-status</td>
	<td>label=Покупатель</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=#filter-customers &gt; button.kd-button.kd-button-submit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='content']/div[3]/a/strong</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='filters-containers']/div[2]/a/strong</td>
	<td></td>
</tr>
<!--VIP-->
<tr>
	<td>select</td>
	<td>id=filter-customer-status</td>
	<td>label=VIP покупатель</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=#filter-customers &gt; button.kd-button.kd-button-submit</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='content']/div[3]/a/strong</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='filters-containers']/div[2]/a/strong</td>
	<td></td>
</tr>
<!--Значения по умолчанию-->
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='content']/div[3]/a/strong</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=#filters-containers &gt; div.filter-container &gt; a &gt; strong</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=date-all-link</td>
	<td></td>
</tr>
<!--Только Москва-->
<tr>
	<td>click</td>
	<td>css=#date-link &gt; strong</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=#filter-date-orders &gt; button.kd-button.kd-button-submit</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>name=filter[city_id]</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=a.date-link</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//table[@id='orders']/tbody/tr/td[6]/nobr</td>
	<td>Москва</td>
</tr>
<tr>
	<td>waitForText</td>
	<td>//table[@id='orders']/tbody/tr[2]/td[6]/nobr</td>
	<td>Москва</td>
</tr>
<tr>
	<td>waitForText</td>
	<td>//table[@id='orders']/tbody/tr[3]/td[6]/nobr</td>
	<td>Москва</td>
</tr>
</tbody></table>
</body>
</html>
